package park.another_prospect;

import java.util.Observer;


public abstract class CarObserver implements Observer
{
    private final Car car;

    public CarObserver(Car car)
    {
        this.car = car;
    }


    public void park(ParkingLot parkingLot)
    {
        car.park(parkingLot);
    }
}
